package com.atguigu.wuliupublisher.service.impl;

import com.atguigu.wuliupublisher.bean.TrandsReceiveCt;
import com.atguigu.wuliupublisher.bean.TrandsReceiveSucCt;
import com.atguigu.wuliupublisher.mapper.TrandsReceiveMapper;
import com.atguigu.wuliupublisher.service.TrandsRecriveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrandsRecriveServiceImpl implements TrandsRecriveService {
    @Autowired
    private TrandsReceiveMapper trandsReceiveMapper;




    @Override
    public List<TrandsReceiveSucCt> getTrandsReceiveSucCt(Integer date) {
        return trandsReceiveMapper.selectTradeProvinceOrderCt(date);
    }

    @Override
    public List<TrandsReceiveCt> getTrandsReceiveCt(Integer date) {
        return  trandsReceiveMapper.selectTrandsReceiveCt(date);
    }
}
